<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
  <script>
      function user(){}
      let u=new user();
//user.prototype  u的原型链上是否有user.prototype,行当于java中的继承
      console.log(u instanceof user);//true
    
    //   console.log(user.prototype.__proto__== Object.prototype);//true
  </script>
</body>
</html>